package ru.paswd.marketprice.storage.receipt.app.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Company {

    @Column(name = "company_name")
    private String name;

    @Column(name = "company_address")
    private String address;
}
